package com.javasea.mq.ack.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.javasea.mq.ack.entity.BrokerMessageLog;
import com.javasea.mq.ack.entity.Order;

import java.util.Date;
import java.util.List;

/**
 *@ClassName BrokerMessageLogService
 *@Description TODO
 *@Author longxiaonan@163.com
 *@Date 2022/4/24 0024 18:37
 */
public interface BrokerMessageLogService extends IService<BrokerMessageLog> {
    List<BrokerMessageLog> query4StatusAndTimeoutMessage();

    void changeBrokerMessageLogStatus(Long messageId, String orderSendFailure, Date date);

    void update4ReSend(Long messageId, Date date);
}
